import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
	  avatarImg:'',
	  name:''
  },
  mutations: {
	  changeImg(state, payload){
		  this.state.avatarImg = payload
	  },
	  name(state,payload){
		  this.state.name = payload 
	  }
  },
  actions: {
  },
  modules: {
  }
})
